﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.CustomerSupplier
{
    /// <summary>
    /// 客户管理
    /// </summary>
    public class Customer
    {
        /// <summary>
        /// 客户ID
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string CustomerCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName {  get; set; }
        /// <summary>
        /// 客户类型
        /// </summary>
        public string CustomerType {  get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string UserPeople {  get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State {  get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Desc {  get; set; }
        /// <summary>
        /// 逻辑删除标识符
        /// </summary>
        public bool? IsDelete {  get; set; }=false;
    }
}
